Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: wait using kstatus #3043

Merged
merged 12 commits into from
Oct 9, 2024
Merged

feat: wait using kstatus #3043

merged 12 commits into from
Oct 9, 2024

Conversation

AustinAbro321
Copy link
Contributor

@AustinAbro321 AustinAbro321 commented Sep 27, 2024

Description

This PR changes the existing wait functionality to have use kstatus after helm wait

Related Issue

Fixes #2973
Fixes #2855

Checklist before merging

Copy link

netlify bot commented Sep 27, 2024

Deploy Preview for zarf-docs canceled.

Name Link
🔨 Latest commit c816251
🔍 Latest deploy log https://app.netlify.com/sites/zarf-docs/deploys/670591123cf441000847dc49

@AustinAbro321 AustinAbro321 changed the title feat: wait using health checks (kstatus) feat: wait using kstatus Sep 27, 2024
@phillebaba
Copy link
Member

I think it would be good to have new packages be in internal instead of pkg initially if there isn't an explicit interest of exporting the functionality for others to use outside of Zarf.

Copy link

codecov bot commented Sep 30, 2024

Codecov Report

Attention: Patch coverage is 39.02439% with 25 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/internal/packager/helm/chart.go 0.00% 22 Missing ⚠️
src/internal/healthchecks/healthchecks.go 88.88% 1 Missing and 1 partial ⚠️
src/pkg/packager/deploy.go 0.00% 1 Missing ⚠️
Files with missing lines Coverage Δ
src/pkg/packager/deploy.go 5.86% <0.00%> (-3.37%) ⬇️
src/internal/healthchecks/healthchecks.go 88.88% <88.88%> (ø)
src/internal/packager/helm/chart.go 13.25% <0.00%> (-1.16%) ⬇️

Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
Copy link
Member

@phillebaba phillebaba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another small comment I would move the health check package out of packager.

src/internal/packager/healthchecks/healthchecks_test.go Outdated Show resolved Hide resolved
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
@phillebaba phillebaba added this pull request to the merge queue Oct 9, 2024
Merged via the queue into main with commit 609bdc1 Oct 9, 2024
26 checks passed
@phillebaba phillebaba deleted the introduce-wait-key branch October 9, 2024 09:19
mjnagel pushed a commit to mjnagel/zarf that referenced this pull request Oct 21, 2024
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
Signed-off-by: Micah Nagel <micah.nagel@defenseunicorns.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants